package cn.asoul.test.infrastructure;

import cn.asoul.infrastructure.persistent.dao.IAwardDao;
import cn.asoul.infrastructure.persistent.po.Award;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @description: 抽奖奖品持久化单元测试
 * @author: chen
 * @date: 2025/3/5 1:54
 */
@Slf4j

@SpringBootTest
public class AwardDaoTest {
    @Autowired
    private IAwardDao awardDao;


    @Test
    public void test_queryAwardList() {
        List<Award> awards = awardDao.queryAwardList();
        log.info("测试奖品为: {}", awards);
    }
}
